home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 November / Chip_2001-11_cd1.bin / sharewar / Slunec / app / is32ex.exe / {app} / Samples / Sample3.iss < prev   
Text File  |  2001-04-14  |  2KB  |  38 lines

  1. ; -- Sample3.iss --
  2. ; Same as Sample1.iss, but creates some registry entries too.
  3.  
  4. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
  5.  
  6. [Setup]
  7. AppName=My Program
  8. AppVerName=My Program version 1.5
  9. AppCopyright=Copyright (C) 1997-2000 My Company, Inc.
  10. DefaultDirName={pf}\My Program
  11. DefaultGroupName=My Program
  12. UninstallDisplayIcon={app}\MyProg.exe
  13. ; uncomment the following line if you want your installation to run on NT 3.51 too.
  14. ; MinVersion=4,3.51
  15.  
  16. [Files]
  17. Source: "MyProg.exe"; DestDir: "{app}"
  18. Source: "MyProg.hlp"; DestDir: "{app}"
  19. Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
  20.  
  21. [Icons]
  22. Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"
  23.  
  24. ; NOTE: Most apps do not need registry entries to be pre-created. If you
  25. ; don't know what the registry is or if you need to use it, then chances are
  26. ; you don't need a [Registry] section.
  27.  
  28. [Registry]
  29. ; Start "Software\My Company\My Program" keys under HKEY_CURRENT_USER
  30. ; and HKEY_LOCAL_MACHINE. The flags tell it to always delete the
  31. ; "My Program" keys upon uninstall, and delete the "My Company" keys
  32. ; if there is nothing left in them.
  33. Root: HKCU; Subkey: "Software\My Company"; Flags: uninsdeletekeyifempty
  34. Root: HKCU; Subkey: "Software\My Company\My Program"; Flags: uninsdeletekey
  35. Root: HKLM; Subkey: "Software\My Company"; Flags: uninsdeletekeyifempty
  36. Root: HKLM; Subkey: "Software\My Company\My Program"; Flags: uninsdeletekey
  37. Root: HKLM; Subkey: "Software\My Company\My Program\Settings"; ValueType: string; ValueName: "Path"; ValueData: "{app}"
  38.